<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>HTML + CSS 鼠标移入按钮</title>
    <link rel="stylesheet" href="/css/button/index1.css" />
  </head>
  <body>
    <div class="container">
      <!-- javascript:void(0)阻止a标签跳转 -->
      <a href="javascript:void(0)" style="--i: 1">点赞</a>
      <a href="javascript:void(0)" style="--i: 2">投币</a>
      <a href="javascript:void(0)" style="--i: 3">收藏</a>
      <a href="javascript:void(0)" style="--i: 4">关注</a>
    </div>
  </body>
</html>
